package com.pony.iphone.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分页工具类，封装分页参数，默认的页码为1和每页大小10条数据
 * @author pony
 * @create 2025-09-17 14:39
 */
@Data
@NoArgsConstructor
public class PageParam {
    private Integer pageCurrent = 1;
    private Integer pageSize = 10;

    public PageParam(Integer pageCurrent, Integer pageSize) {
        this.pageCurrent = pageCurrent;
        this.pageSize = pageSize;
    }
}
